use dotenvy::dotenv;
use log::info;
use common_lib::ErrorCode;
// use common_lib::AppError;

#[test]
fn test_enum() {
    // dotenv().ok();
    // env_logger::init_from_env(env_logger::Env::new().default_filter_or("info"));
    // let t:Result<(), AppError> = Err(AppError::from("InvalidArgument"));
    // info!("{:?}",t);
}

#[test]
fn test_error() {
    // let e = ErrorCode::Success;
    // let code = e.get_code();
    // let status = e.status("ok");
    // // let _ = Err(ErrorCode::InvalidArgument.status("Username cannot be empty"));
}